﻿$(document).ready(function () {
    var leftMenu = $(".left");
    var leftMenuItems = leftMenu.find("ul");

    leftMenu.hover(function () {
        if (leftMenu.width() != 200) {
            leftMenu.animate({ "width": "200px" }, "fast");
        }
    }).mouseleave(function () {
        if (leftMenu.width() / $('body').width() * 100 != 5) {
            leftMenu.animate({ "width": "5%" }, "fast");
        }
    });
})